package com.blogspot.wanyancan.client.image;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ImageServiceAsync {

	public void UpdateImageId(String id, String name, String desc,
			AsyncCallback callback);

	public void UpdateImageId(String id, String name, String desc, String db,
			AsyncCallback callback);

	public void clearDatabase(AsyncCallback callback);

	public void clearDatabase(String db, AsyncCallback callback);

	public void deleteImage(String name, AsyncCallback callback);

	public void deleteImage(String name, String db, AsyncCallback callback);

	public void deleteImageId(String id, String name, AsyncCallback callback);

	public void deleteImageId(String id, String name, String db,
			AsyncCallback callback);

	public void getImage(int startIndex, int numCount,
			AsyncCallback callback);

	public void getImage(String id, AsyncCallback callback);

	public void getImage(String id, String db, AsyncCallback callback);

	public void updateImgClass(String name, String prop, AsyncCallback callback);

	public void updateImgClass(String name, String prop, String db,
			AsyncCallback callback);

}